//
//  ComputerPartVisitor.h
//  访问者模式
//
//  Created by flannery on 2018/12/18.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Computer, Mouse, Keyboard, Monitor;

@interface ComputerPartVisitor : NSObject
-(void)visitComputer:(Computer*)computer;
-(void)visitMouse:(Mouse*)mouse;
-(void)visitKeyboard:(Keyboard*)keyboard;
-(void)visitMonitor:(Monitor*)monitor;
@end
